package com.mes.cloud.rabbit.customer;

import com.mes.cloud.rabbit.bean.Message;
import com.rabbitmq.client.AMQP;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.amqp.support.AmqpHeaders;
import org.springframework.messaging.handler.annotation.Header;
import org.springframework.messaging.handler.annotation.Payload;
import org.springframework.stereotype.Component;

/**
 * Created by pact on 2018/6/14.
 */


public interface MessageCustomer {


    public void process(@Payload Message message);
}
